package com.software.seakdream.service;

import com.software.seakdream.entity.Integral;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface IntegralService {


    public Integer findUserPointById(String userId);

    Integer findBonusByIntegralId(Integer integralId);

    List<Integral> findAllIntegral();

    void addPointsWhenFinish();

    void updateIntegral(Integral integral);
}
